﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PPAP.Model
{
    /// <summary>
    /// 实体类SAMPLECARD 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Samplecard
    {
        public Samplecard()
        { }
        #region Model
        private int? _id;
        private string _samplecardno;
        private string _version;
        private int? _testdepartmentid;
        private string _deptrep;
        private DateTime? _starttime;
        private DateTime? _endtimeplan;
        private DateTime? _endtimeactual;
        private int? _status;
        private string _result;
        private int? _pparid;

        private int _Issendmail;

        public int Issendmail
        {
            get { return _Issendmail; }
            set { _Issendmail = value; }
        }

        private string _REASON;

        public string Reason
        {
            get { return _REASON; }
            set { _REASON = value; }
        }
        private string _INTERNALCOMMENT;

        public string Internalcomment
        {
            get { return _INTERNALCOMMENT; }
            set { _INTERNALCOMMENT = value; }
        }
        private string _INSPECTIONREPORTID;

        /// <summary>
        /// 附件ID
        /// </summary>
        public string Inspectionreportid
        {
            get { return _INSPECTIONREPORTID; }
            set { _INSPECTIONREPORTID = value; }
        }
        /// <summary>
        /// id
        /// </summary>
        public int? ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 样品卡编号
        /// </summary>
        public string SAMPLECARDNO
        {
            set { _samplecardno = value; }
            get { return _samplecardno; }
        }
        /// <summary>
        /// 版本号
        /// </summary>
        public string VERSION
        {
            set { _version = value; }
            get { return _version; }
        }
        /// <summary>
        /// 测试部门ID
        /// </summary>
        public int? TESTDEPARTMENTID
        {
            set { _testdepartmentid = value; }
            get { return _testdepartmentid; }
        }
        /// <summary>
        /// 联系人
        /// </summary>
        public string DEPTREP
        {
            set { _deptrep = value; }
            get { return _deptrep; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? STARTTIME
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime? ENDTIMEPLAN
        {
            set { _endtimeplan = value; }
            get { return _endtimeplan; }
        }
        /// <summary>
        /// 实际结束时间
        /// </summary>
        public DateTime? ENDTIMEACTUAL
        {
            set { _endtimeactual = value; }
            get { return _endtimeactual; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int? STATUS
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 结果
        /// </summary>
        public string RESULT
        {
            set { _result = value; }
            get { return _result; }
        }
        /// <summary>
        /// PPARID
        /// </summary>
        public int? PPARID
        {
            set { _pparid = value; }
            get { return _pparid; }
        }
        #endregion Model

    }
}

